/*
 * @Descripttion:
 * @Author: YuZhenJing
 * @Date: 2019-12-27 13:56:04
 * @LastEditors: YuZhenJing
 * @LastEditTime: 2020-03-20 16:00:29
 */
import { changeTheme } from '@/libs/utils/theme'
import AsmClient from 'asm-client'
// 更新主题
export const updateTheme = (state, themeValue) => {
  state.themeApp = themeValue
  AsmClient.Auth.themeObj.set(themeValue)
  changeTheme()
}
